home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / System.readme < prev    next >
Text File  |  1996-09-26  |  2KB  |  80 lines

  1. Short:        Start a command :) but with some options
  2. Author:       Stefan Le Breton (stlb@cs.TU-Berlin.de)
  3. Uploader:     Stefan Le Breton (stlb@cs.TU-Berlin.de)
  4. Version:      1.7
  5. Type:         util/cli
  6. Copyright:    ©1995 Stefan Le Breton
  7. Distribution: free
  8. Restrictions: no military or life critical use, complete archive, no commercial use without authors permission
  9. Requires:     OS 2.0+
  10. Archive:      System.lha
  11. Date:         16.12.95
  12. Downloader:   probably YOU :)
  13.  
  14. -8<-
  15.  
  16. System provides full access to System()
  17.  
  18. I assume you are familiar with ReadArgs() parsing
  19.  
  20. Arguments:
  21.   IN=FROM/K       : input file/stream if missing, stdin is used.
  22.   OUT=TO/K        : output file/stream if missing stdout is used.
  23.   ASYNC/S         : command is started asynchron, if IN or OUT is missing,
  24.                     NIL: is used, otherwise System() would close your stdio...
  25.                     this might lead to a crash.
  26.   USERSHELL/S     : use the usershell, not BootShell.
  27.   CUSTOMSHELL/K   : use another shell.
  28.  
  29.   STACK/K/N       : stacksize for command.
  30.   PRI/K/N         : priority.
  31.   NOCOPYVARS/S    : don't copy local vars.
  32.   CD              : current directory for command.
  33.   PROGDIR         : PROGDIR: for command.
  34.   NOREQ           : prevents that requesters pop up on execution of command.
  35.                     Though this maybe the case for system itself.
  36.  
  37.   COMMAND/F       : the actual command and it's arguments.
  38.  
  39. If command is missing, System just does nothing
  40.  
  41. System is pure, if you want to make it resident, you must use
  42.  
  43.   resident "system"
  44.  
  45. because resident has SYSTEM/S in it's template :)
  46.  
  47. Probably you have to set the pure flag first:
  48.  
  49.   protect system +p
  50.  
  51.  
  52.  
  53.  
  54. Have fun
  55.  
  56.  
  57.     StElb
  58.  
  59.  
  60. If you want to send me money, creditcard numbers, hardware, chocolate and the like :)
  61.  
  62.   Stefan Le Breton
  63.   Wesendorfer Str. 8
  64.   13439 Berlin
  65.   GERMANY
  66.  
  67. PLEASE make an obvious notice for me, that you send it for "System"... else I might return
  68. the letter unopened to, because I have some trouble with other sort of things :/ I don't want
  69. to pay postage for a trillion answer letters for a joke.
  70.  
  71.  
  72. ============================= Archive contents =============================
  73.  
  74. Original  Packed Ratio    Date     Time    Name
  75. -------- ------- ----- --------- --------  -------------
  76.     4016    2196 45.3% 16-Dec-95 20:14:04 +System
  77.     2041    1075 47.3% 16-Dec-95 19:53:08 +System.readme
  78. -------- ------- ----- --------- --------
  79.     6057    3271 45.9% 18-Dec-95 21:44:16   2 files
  80.